package com.chey.dao;

import com.chey.domain.UpView;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author JanYao
 * @version 0.1
 */
@Mapper
public interface UpViewDao {
    @Select("select username,permission_name,url from USER_PERMISSIONS_VIEW where USER_ID=#{uid}")
    public List<UpView> selectByUid(Integer uid);
}
